home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Games: Greatest Hits 1996
/
Amiga Games: Greatest Hits 1996.iso
/
archive
/
userbox
/
publicdomain
/
shortcut.lha
/
ShortCut
/
ShortCut.doc
< prev
next >
Wrap
Text File
|
1996-06-10
|
3KB
|
102 lines
ShortCutPP by Piotr "PP/UNION" Pawlow
The author's native language is polish, so please forgive bad
spelling, grammar mistakes etc.
Introduction
With this program you can run your favourite programs from the menu.
It's based on "Shortcut" by M. Bradley - it was a very good program,
and I've liked it very much... until I've installed in my Amiga Kickstart 2.0.
It wasn't font sensitive. So, I wrote similar program. Because my Shortcut
uses gadtools library, it's font sensitive, it automatically changes menu
layout to fit on the screen, you can use bar labels and key shortcuts, and
finally it's small.
Requirements
Any Amiga:). With Kickstart 1.3 it also needs gadtools.library in your
LIBS: directory.
Installation
Copy it wherever you want (SYS:WBstartup is a good place for KS2.0+
users). Then make "S:ShortCutPP.setup" file with contents of your menu.
The prefs file (S:ShortCutPP.setup)
Here's a commented example:
--- Cut here ---
Coding <- menu title
<S>Trash<TAB>t <- menu item name&key shortcut (Amiga-t)
<TAB>cd sys:assemblers <- one or more commands to execute, when
<TAB>run >nil: trash'm-one <- user select this item
<S>Seka<TAB>s <- another item
<TAB>cd sys:assemblers
<TAB>run >nil: MasterSeka
<ESC> <- this is bar label
<ESC>-- Debug -- <- non selectable menu item for comments
<S>SnoopDos
<TAB>run >nil: sys:snoopdos
<S>StackMon
<TAB>run >nil: sys:stackmon
Disk Tools <- another menu title
<S>Dir Work<TAB>d
<TAB>run >nil: sys:dirwork
<S>File Master
<TAB>run >nil: sys:filemaster
--- Cut here ---
<S> - means one or more spaces
<TAB> - Tab key
<ESC> - Esc key
It should look like this:
Coding Disk Tools
+-----------+ +--------------+
|Trash At| |Dir Work Ad|
|Seka As| |File Master |
|~~~~~~~~~~~| +--------------+
|-- Debug --|
|SnoopDos |
|StackMon |
+-----------+
See also included example.
RULES:
- Menu titles begin at first column of a line (without any spaces).
- Menu items begin with one or more spaces. After the item name you can
optionally enter a key shortcut by pressing Tab key and one letter.
- Bar labels are created by entering one Esc code (27) in a new line.
- Non selectable items consist of the Esc key and the item name.
- Commands to execute begin with Tab key.
NOTES:
- Gadtools library isn't case sensitive, so Amiga-t and Amiga-T means the
same.
- Always use "run" command, because some programs don't detach itself from CLI
and they're blocks Shortcut.
- If you want to run programs in the same way like Workbench does, use WBRun.
You can find it on Aminet.
Bugs
I'm using this program from 2 years and it works OK, with one exeption
- it didn't work with EaglePlayer version 1.53, and I don't know why.
The Author
Please contact me at this address: (sorry - no email)
Piotr Pawlow
ul. Lewartowskiego 12 m 46
00-185 Warszawa
POLAND